resizeContentAware

abstract fun resizeContentAware(blocks: List<DesignBlock>, width: Float, height: Float)

Resize all blocks to the given size. The content of the blocks is automatically adjusted to fit the new dimensions. Required scope: "layer/resize"

Parameters

blocks

The blocks to resize.

width

The new width of the blocks.

height

The new height of the blocks.